Added some comments for better code clarity. Also, to further the level of communication in the group for better group cohesiveness.