has my own tree traversing printing functions now