Fixed header guards.
Wrote out code for new chapter.

Comments still underway.