find the max depth of a binary tree