added solution to problem 19