Create simplifypath.cpp