Create pat_1007.cpp