Moved ch3_5 Scala code to old Scala for the Impatient