updated lecture notes and hw2 file