Playing with some examples from Programming in Scala (Artima)