pub fn generate_tree_graph(n_nodes: usize) -> Vec<(usize, usize)>
Generate a tree graph (connected acyclic graph)