learning akka - counting prime numbers