add Deque for assignment 2