Add inplace quicksort