i have comitted some changes

Comments are added for respective variables and functions