Pretty-format the C code
Add Rubocop
Refactor based on Rubocop's suggestions