Finish ex3.5 and some more notes.

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