Corrections based on the comments to the homework #7

Corrections based on the comments to the homework #7