Create pat1004.cpp