Create rmq2.cpp