adding tests from professor and print function (with new tree class and helpers)