solutions of the Scala_for_the_Impatient Problems