Delivered version of RandomizedQueuesAndDeques assignment