New methods added. TreeSymbol.add() method changed to recursive