change randomized queue iterator to not modify array being iterated