added solution to problem 25