added compile_commands.json to gitignore
ran clang-format on all c files