Added code chunks to lecture 2