Wrote a quicksort macro and modified sort_list to use it

See https://gist.github.com/redwire/6394042  for a self-contained example of using the quick_sort (as well as how it's applied to sort_list).  The gist runs standalone with `gcc -o test -std=c99 [testfile].c && ./test`.