Create main.cpp

Main code