solution: maximum depth of binary tree 1