latest lecture 3 code
updated slides