Haskell for educative games