Redid quicksort