Fixed generation issue with snakeFood and game should be fully playable without an official end screen implemented. So when the snake gets stuck or the game finishes, there is nothing to close the game automatically.
Moved general functions to a general file and added a statement to catch if the newly generated location is the same. The snake food is not currently generating to a new random location like expected and is broken.
GameState now only defines window limits. RenderWindow is now set to be a separate object left in the main method.
Noted issues if put into GameState: Window never opens and the program just ends.