main file

I've uploaded the main.cpp file