Moved main to top of prog1.cpp file