complete deque.h