MapReduce

Hi
Fixed a typo and added return