.c and .h files for this lab