Adds simulative implementation of stack.