build.edgelist function

For a sample, produce the transmission tree as a igraph object