Merge pull request #1 from maryrood/master

Added a median function to the script.  Enjoy!
I added tests to the median function
Merge pull request #1 from junjieguo2007/median-tests

Median tests