Update iterator.cpp