Create sample.cpp