Update median.py

added license