Completed mergeSort