Added Deque implementation