Created 'StateManager' class that is responsible for the storage, insertion, and removal of game states