Define a procedure, median, that takes three numbers as its inputs, and returns the median of the three numbers.