private void makeAllNodesVisitedFalse(Node[] nodes2) {
		int number = nodes2.length;
		for (int i = 0; i < number; i++) {

			Node tempNode = nodes2[i];
			while (tempNode.getNextNode() != null) {
				tempNode.setVisited(false);
				tempNode = tempNode.getNextNode();
			}
		}
	}