More commentary for ch1, open some local scopes, reformat some exercises.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>