Simple Stack interface with additional methods for the aggregate computation.
Pushes the token in the stack.
Returns the current path of the stack.
Pops the last element of the stack.