public void compareNetworks(String netA, String netB){
        General u = new General();
        Node[] nA = u.readNetworkFromAdjacencyList(netA);
        Node[] nB = u.readNetworkFromAdjacencyList(netB);
        
        Set<Integer> nodesA = new HashSet<>();
        Set<Integer> nodesB = new HashSet<>();
        
        for(Node n : nA)
        {
            nodesA.add(n.name);
        }
        
        for(Node n : nB)
        {
            nodesB.add(n.name);
        }
        
        int notInB = 0;
        for(int a : nodesA)
        {
            if(!nodesB.contains(a))
            {
                notInB++;
            }
        }
        
        int notInA = 0;
        for(int b : nodesB)
        {
            if(!nodesA.contains(b))
            {
                notInA++;
            }
        }
        System.out.println("Nodes in A: " + nodesA.size());
        System.out.println("Nodes in B: " + nodesB.size());
        System.out.println("Nodes in A but not in B: " + notInB);
        System.out.println("Nodes in B but not in A: " + notInA);
    }