Update Proj1.cpp

Changed to classes