Making use of the igraph package to draw a network