Create Data Structure- Deque Class in Python