Code for the exercises in the book Programming in Haskell