Add Iterator interface to Document
Implement IteratorAggregate instead of Iterator
Remove stale variable
Merge pull request #3 from codemix/add-iterator

Add Iterator interface to Document