Exercises for Functional Programming in Scala