Height Of Binary Tree Leetcode Solution Java