My answers to exercises in the book Functional Programming in Scala