median2 function

Median (Q 50)