public void printNodeLinkInfo(Node[] nodes) {
		int size = nodes.length;
		for (int i = 0; i < size; i++) {
			Node tempNode = nodes[i];
			System.out.print("The " + (i + 1) + "th node's link info is:");
			while (tempNode.getNextNode() != null) {
				System.out.print("(" + tempNode.getId() + ","
						+ tempNode.getValue() + ")" + "-->");// +
																// tempNode.isVisited()
				tempNode = tempNode.getNextNode();
			}
			System.out.println("(" + tempNode.getId() + ","
					+ tempNode.getValue() + "),");// + tempNode.isVisited()
		}
	}