expressions: Implement the MEDIAN function.