Finished impementing the RandomizedQueue.