Attempting to complete the map reduce project from UC Berkeley