makes the rewire function of igraph
rewireOnl(data, number)
data
The output of prepGraph
number
Number of rewiring trials to perform.