add const variable, add stack_pop_remove(). modify stack_pop() to stack_pop_remov(), in stack_pop().