Fixed bugs with Stack declaration
initial implementation of QuickSortIter