Update iteratorForNestedList.cpp