example 1.2 code
Merge branch 'Chapter-1-&-2-work'