Add solution for problem 19