renamed main.cpp to exec.cpp