Add commands to print the top element o the stack without poping, to duplicate it, and to swap the top two elements. Add a command to clear the stack.
Add commands to print the top element o the stack without poping, to duplicate it, and to swap the top two elements. Add a command to clear the stack.