Added the stack and deque