MaxDepth of Binary Tree solved