Added printParseTree() method in Backend class.