Problem 31
Increasing readability for getting max