Initial version of the tree-cutter.py script