QuickSort code complete