Restore game state from save file

* implemented get_game_state to restore game state from a save file or
create a new game state and save file in its absence.