added mergeSort and quickSort