Exercises from "Programming in Scala" by Odersky et al