finallygit add Node.py Tree.py ! you need to use copy.deepcopy() to avoid overwriting references to objects that recur