simple MapReduce simulator