Create program3.cpp

The main program file for Program 3