Removed the 'visited' attribute from Node, since we are not using it.