Create revised_project4a.cpp