tpop; exercise 2.1 - quicksort recursive and iterative (version 1)