Added and solved problem 7