Create iteratorForNestedList.cpp