initial testing and experimentation of program in exec.cpp