Fixed titles and newlines

Every page in chapter2 was given a proper title and a newline
at the end of the file.

[close #22]
[close #23]