Added median function to stats.py

Awesome median function.