add isMatch.cpp