solve quicksort1