solved problem 14 & 15