Finished up the basic functionality of the snake game