quicksort in c