Create pat_1001.cpp