working on mergeSort