Homework 7

Added Homework 7
I wouldn't use 'cls' here -- any name will do, but 'cls' is often used for class objects in class methods -- I think the convention is "other"