Maximum Depth of Binary Tree of java