function r=isint(x,y)
   r2=x^2+y^2;
   if (abs(x)>1 || abs(y)>1) && (r2<9)
      r=1;
   else
      r=0;
   end