Created a generic data type double-ended queue or deque.