Created a Food class

Snake Food spawns randomly
and has collision detection in its update method