rewrite quick_sort.c .