Added iterators to the data structures