Create median.cpp