use java print binary tree from left to right fashion : like this 
            99
        97
             92
    83
         71
              69
49
              44
          40
              32
      28
          18
               11


and it require 
Recursively call outputTree with the right subtree of the current node and
totalSpaces + 5
Use a for statement to count from 1 to totalSpaces and output spaces
Output the value in the current node