rename main.cpp as driver.cpp.