Here is the slide lecture with some of the code explained.