Add comments to problem 4 code
Add comments to problem 5 code
Add comments to problem 6 code
Add comments to problem 7 code