Add mergeSort algorithm