leetcode max depth of binary tree, forgot to check if the root is null or not, get run time exception, too careless