Learning Haskell: a small game.