Create perfect.cpp