quicksort with c