Added toString() for tree and nodes