MapReduce Custom Implementation in Scala and Akka