added merge sort and quick sort