quicksort for test