Create PAT 1001.cpp