Split quicksort functions into nested functions.
Changed pure quicksort name.
Tiny change.
Got rid of nonfunctioning sorts in preparation for feature finish.
merged in quicksorts.