fixed errors on driverProgram.cpp and the header