Clean it up a bit -- make the next() and minimum() methods part of the Node object, and not the tree.