added quick and merge sort