Homework8 completed and tested