Create onlineMedian.cpp