My solution to the exercises of Scala For The Impatient