change stack function, create stack_element~() family, create "Stack" struct