completed problem 6
updated comment in problem 6 script