Moved exercises. Fixed sections.

Need to rewrite some exercises because of lost context when moving them
to the end.
Fixed sections and cleaned up the file.
Fixed sections, cleaned up the file.
Fixed sections, moved exercises.
Done some beautifying on chapters 7,8,9,10.
Fixed sections, moved exercises.
Fixed sections, cleaned up file.
Fixed sections and other nitpicks.