Implemented print game state function