Deque Class Python Coding For Practice