added defn. for node and method to add split nodes