Maximum depth of a binary tree