added problem 6
added problem 7