Create program2.cpp

The main code file