added median to stats.py
Merge pull request #1 from youser03bc/master

updated stats.py