some changes to quicksort
the change of the quicksort