Create Median in a stream of integers (running integers).cpp