implement quick sort both in recursive and iterative fashions