practice quick sort
add simple C code