private List<Node> createSubNodes(List<String> subNodes, Node parent) {
	List<Node> nodes = new ArrayList<Node>();
	Node node;
	for (String s : subNodes) {
	    node = new Node(s, parent);
	    nodes.add(node);
	    allNodes.add(node);
	}
	return nodes;
    }