Actor exercise 3 from scala for the impatient