First dive into undo

Wrote a getter method for the game state. Then tried to implement it,
and ran into a type mismatch issue. Not sure where to go from here.