Added more methods to symbol table and tree printer