A working tenery quick sort C program
Need further refinement