lecture 13, analysis of alg. notes