%%-------------------- brute force algorithm
IJ = load('BB');
nz = size(IJ,1);
z = ones(nz,1) ;
B = sparse(IJ(:,1), IJ(:,2), z);
n = size(B,1); 

G = graph(B);
plot(G)
