Add a simple deque implementation.