Median

HI @armanpazouki, I added a new median function!