notes and exercises for week 2