Update Assignment 7.md

Updated the code