Output the maximum depth of a binary tree