I added the median function
Merge pull request #1 from crsl4/median

I added the median function