Basic MergeSort in C++ without std::algo