Iterator

Added basic iterator functionality