Exercises of Programming in Haskell book