shad/cxx2: add tree.py
shad/cxx2: add python string config