linked list representation of Queue with iterator