Initial version of mapreduce