Added a chapter for typesetting documents/text in LaTeX, and finished the algorithm chapter/template.