Added all the comments. Intermediate done