page moved to http://xahlee.info/python/python_construct_tree_from_edge.html