Assignment 2 MapReduce Library Solution