creat main.cpp

transferred from VS to github