[graph-tool] TypeError while using add_edge_list