MapReduce Algo sample