Created a header file VectorGen.h and added an include directive to it in main.cpp, also removed the class definition from main.cpp