Scala for the Impatient  source code for the examples.