added a median function
fixed argument name in median function
Merge pull request #1 from ajstephenson/master

Please accept this request