Compleeted iterator and passed all the tests.