Added Mapreduce Code