Iterator pattern 


Signed-off-by: zanpen2000 <zanpen2000@gmail.com>