public int preferredDirection(){
      int maxFood = -100;
      int dir = -1;
      for(int i = 0; i < 8; i++){
         if(maxFood < look(i)){
            maxFood = look(i);
            dir = i;
         }
      }
      return dir;
   }