Added iterator for part C.