Exercises from the Manning book "Functional Programming in Scala"