neighbor doesn't need to return the nodes.

neighbor returned a tuple containing all the nodes in the tree and the
resulting tree. This is unnecessary for the conversion to the Newick
format.