Added Problem 4 to assignment8.assignment8.