added map and reduce examples