solved problem 13 and 16