Exercises from Functional Programming In Scala