Comments added to problem 5

Comments added to problem 5