Added project2.cpp