newer lecture 4 code
updated lecture 4 materials