Merge pull request #3 from armanpazouki/median-test

Median test
Merge remote-tracking branch 'alpha2/master'
merged with alpha2, the median function