Update doctests in rooted_trees.py.