Finished chapter 5 of Programming in Haskell.