Randomizing a queue

q.shuffle() is the simplest way to achieve this.