solve quicksort2