add quicksort and quick select