Added functions.c/functions.h/main.c