added .c file
Merge pull request #1 from billy-hardy/master

added .c file