Final code for chapter3
Merge remote-tracking branch 'origin/master'