adding c directory and .gitignore