Added example number to scoping
Added function vs method invocation.
Merge branch 'chapter3'