MapReduce exercises