Assignment 2: MapReduce and Pig Solution