Main.cpp file for project 2