Refactor quicksort_1
Refactor quicksort