examples from video lectures, week 2
updated