Author chapter on sequences based on the HelloInternet example.

Add code snippets and formatting to the example code.