new program.cpp and updated files