QuickSort non-recursive