Create pat1007.cpp