Max depth of binary tree