ch1: update readme examples
add ex 1.17
readme: add 1.17 explaination
Add ex 1.18 solution and explaination