Updated to use only one class

A TREE IS A NODE AND A NODE IS A TREE