recursively find min depth of binary tree