Randomized queue impl