Added nodes

new method allNodesVisited