add iterator support to rqueue