Exercises from the book "Functional Programming in Scala" by Paul Chiusano