Food class has been added with collision detection.