Programming in Scala 2nd summary is done