Create pat1012.cpp