added problem 14 solution