additional comments... almost done
updated the quick_sort functions