Update tree.py

changed some cd commands