Exercises from "Scala for the Impatient" book.