[Haskell-beginners] Combining the Rand and State monads