add quick_sort algorithm using stack