Implemented functions to add branch nodes and leaf nodes to the parse tree