Solution to exercises for the "Scala for the Impatient" book