fix the error in qksort.c and ctsort.c

and add ex-1.c for test all the sort-algorithms