added C implementation of quicksort