Adding the first example of the Scala Cook Book here