A simple Python implementation of MapReduce