Sample code from Akka Concurrency book by Derek Wyatt.