Maximum Element Hackerrank Solution Python Tutor