p=matrix(4,[0,1,0,0,1,0,0,0,0,0,0,1,0,0,1,0]);
g=Graph(p)
g.plot()    //plots the graph for given adjacency matri