Lecture 1

code we went over in lecture 1.