updated gitignore and C file