Stack implementation for tracking and reversing sequential operations
Explain code with DocComment! Try out your own code!