Refactoring tree printer to work with current Node class