ex18
Add ex19
Refactor game logic out of ex19