Add a code-style guide and format the code accordingly.

I promise it's for real this time.