Merge Sorted Array C++