title: how to print a binary tree diagram?
body: <p>How can i print a binary tree in java so that the output is like:</p>
  
  <pre><code>        cat
          /\
       cat1 cat2
  </code></pre>
  
  <p>the values can be more than one character.</p>