Added map and reduce array examples