aded map to lists
added iterator and nodeIterator functions