pub fn adjacency_to_edge_list(adjacency: &Array2<f64>) -> Vec<(usize, usize)>
Convert adjacency matrix to edge list