add RandomizedQueue and Deque
fixed bug: check() in Queue.java