RandomizedQueue.java tested and checked