Maximum depth of binary tree