Add Solution to Problem 7.