Adding the solution to problem 28.