add minDistance.cpp