Notes for CS 171