fixed mean function to correctly test for floats
I added a median functiongit add stats.py git add stats.py