Basic implementation of MapReduce in python. Does not implement parallel processing