Implement week 8 assignment.
Fix typo in Week 7 assignment.