Update DMS-HW6.py

Added Chapter 7 Homework