Implementation of a Double-ended Queue (Deque) using a circular array with a fixed capacity. With the Adapter pattern, implementation of a Stack and Queue using the Deque implementation.