fixed a bug in turning logic
made the rat follow the food
winner determination