Update chapter13.scala