Implemented my_deque and my_stack