changes to mergeSort and starting quickSort