Writing the second example of the book.
Learning about functions and namespace str