Scala For The Impatient homeworks