Create pat1011.cpp