making the test function more obvious in the result and changing the spacing for the tree priting to distinguish better the nodes