revised solution comments
added comments to index