Adding problem #19 solution.