Implementation of Task 1 using MapReduce with Akka