CS 171 Lecture 2.pdf