Create check.cpp