Updated Week 7. Implemented assignments