Deque implementation added.