finding index of maximum element from python list,"from functools import reduce