Create NBTree.py