Add first draft of deque implementation.