Update chapter9

other solution available