Added Comments

Added comments to code