Added GameState class that all game states will derive from.
The game class now calls the input, update, and render functions for the current state.