Added commenting to the iterator class