First session8: iterator exercise