Added some code to Randomized Queue.