Added the main cpp file and output to the screen