Merge pull request #1 from scottsexton/add-map-reduce

Add map reduce
fix for python3