1st pass at converting Lecture 2 to beamer