lecture notes for week 1