Some Haskell exercises