Tree constructor class (appears to be) working