[lesson_14] Adding map and reduce code for python