Added .c files. Both have the same code.