Comments Added

Added comments for easier reference and understanding.