Algorithm Using Mapreduce In Python How To Organize