Adding some iteration stuff to the Queue type