C quicksort changes