Create median.py

Find median implementation using Binary insertion sort.