Deque Subscript Out Of Range