rough (read: untested) draft of quicksort added