quick sort and merge sort program