[Haskell-beginners] I wrote a state monad example - help me make it more Haskellic