maximum depth of binary tree done