adding .c files
adding .h and Makefile