Inline mapReduce implementation

Here is a pull request for issue #8