Added implementation of RandomizedQueue