Some toy problems for learning Haskell