Added Comments

Added comments to the source code.