quicksort second version