Week 7: work in hw7

Working in hw7: until problem 7 solved