Merge Sort Algorithm in C++