added a placeholder median function, needs to be replaced
I added tests to the median function
Merge pull request #1 from junjieguo2007/median-tests

Median tests
Merged with upstream