Using map and reduce
max function