map for mapreduce for Hadoop in python