Sample MapReduce job written in Scala