Implement Stack Using Deque Python