Create pat_1004.cpp