Finding index of maximum element from Python list,"from functools import reduce