problem with threshold range in double_edge_swap method
not sure about multigraph or singlegraph choise
uncommenting functions at the end of script