Create code1.cpp

first edition