I have some problem with a List copy:
So After I got E0 from \'get_edge\', I make a copy of E0 by calling \'E0_copy =
E0
\'get_edge\'
\'E0_copy =
Regarding the list as a tree, the deep_copy in python can be most compactly written as
def deep_copy(x): if not isinstance(x, list): return x else: return map(deep_copy, x)