Simple printing.
Adding function.
Adding global variables.
Adding section numbers from the book.
Fixed typo in section reference.
Added docstring example.
Added __main__ pattern.
Added return statement.