Using akka and scala to calculate pi