Code-writing guidelines

As a part of the Mozilla summer sprint, we outlined principles from a useful Manual on code-writing best practices (by Gentzkow and Shapiro) and gave some brief examples.