Create pat_1012.cpp