Fix formatting issues in Chapter 3

Missing newlines cause RedCloth to evaluate
code as formatting. Adding them in fixes ths issues.

Added inline backticks when discussing some variables.