functions.c file for main.c 

Contains the definition of functions called in main.c