Scala actors case study