Implemented stack_push and stack_pop.