Implement Stack Using Deque Leetcode Python Practice