Adding a stack implementation