I added a median function
Merge pull request #1 from stephenpardy/median

I added a median function