Add third version of quicksort