public NodeLink(int size) {
		stack = new Stack<Node>();
		nodes = new Node[size];
		for (int i = 0; i < size; i++) {
			nodes[i] = new Node();
			nodes[i].setId(i + 1);
			nodes[i].setVisited(false);
			nodes[i].setValue(String.valueOf(2 * (i + 1) + 1));
		}
	}