Queue.java and Deque  write by youyou