added quick sort and merge sort