added comments
problem6
added problem7