sample int-sorting framework using qsort
go C99 for declaring variable length array
implement sleep_sort using posix threading