Checkpoint 2 : To-Do - iterator without stack.