Working through http://www.scala-lang.org/docu/files/ScalaTutorial.pdf