Added final comments

Added final comments to code.