implement Quick Sort in C