So this is my code for this BSTree, and it works fine, but I need to format the output a certain way.

I need to do this type of output (look at inserted image), but I'm at a lost as to how to...