Quick Sort Without Recursion In Python