-Added food generation
-Fixed some problems with the snake's movement
-Created separated .js file for the game class