Returns the larger (or smaller) of the two elements. An optional third argument allows us to provide an alternative comparison operation.