Create a Snake class to make SnakeGame more readable