I added tests to the median function
Merge pull request #1 from shehappy/median-tests

I added tests to the median function