Lambda Map Reduce In Python