Returns the maximum value of three numbers