Code base

Implemented body of code in program.c and program.h