added solution to minimum depth of binary tree