Implemented the Map-Reduce logic in Java and calculated the timing for various combination of mapper and reducers.