Added BuildTree class to make use of Node class to create the parse tree