added merge and quick sort