Adding functions
Adding game and snake functions
Updating game and snake functions