Rough draft

Still to come: finish sections (such as functions), review individual sections, and better formatting.