Week 2.
Reimplement randomized queue.