Create merge-intervals.cpp