Code from the Scala in Action Book