Exercises from 'Scala for the Impatient'