Improving problem 14 solution.