added C implementation of quick sort