add exercise8e from Liang's webpage