Rewrites the binary tree in terms of the tree container and nodes. Definitely cleaner.