deletePtree now works properly (but is no longer iterative). Previously it worked for calculator_parser but not lisp_parser