functions.c file for main.c 

functions.c file which contains the definition of functions called in main.c