Exercises from Manning's Functional Programming in Scala