Improvements on RandomizedQueue
Modified RandomizedQueue