modified to cookies.h and added main_program.c file