add documentation for map/reduce example