Add exec3.cpp and update makefile