adding stack_to_queue