public void turnRight(double degrees)
      {
         if(crawlOff)
            heading = heading - degrees;
         else
         {
            double interval = 5.0;
            if(degrees < 0)
               interval = -interval;
            double temp = heading - degrees;
            while(Math.abs(heading - temp) > Math.abs(interval))
            {
               heading = heading - interval;
               graphics2.drawImage(buffer1, 0, 0, WIDTH, HEIGHT, null);
               pause();
            }
            heading = temp;
            graphics2.drawImage(buffer1, 0, 0, WIDTH, HEIGHT, null);
            pause();
         }
      }