Added solution: #3 exercise chap04