update Minimum_Depth_of_Binary_Tree using BFS template