fixed mean function to correctly test for floats
I added a median functiongit add stats.py git add stats.py
Merged median and variance into one file