Working through exercises in Scala for the Impatient book.