Create shortPath.cpp