Update ex1.1 Problem 8