Implement Stack Using Deque Leetcode Python Easy Password