Adds a simple stack implementation