Hadoop map and reduce exercise python codes