iterator functionality

https://github.com/mkly/Data/issues/15