A toy implementation of MapReduce