done with RandomizedQueue. week2