Create isPerfect.cpp