another iterator implementation
Merge pull request #119 from f0rward/assignment1

13307130195_CHENSHAOXIANG_assignment1