Added problem 16 solution.