Exercises from "Scala for the Impatient" by Cay Horstmann