Maximum Depth of Binary Tree

solved the problem of Maximum Depth of Binary Tree