Create main.cpp

Upload example.