add python version of minimum-depth-of-binary-tree