add mininum depth of binary tree cpp