Print the source code of examples in demonstration document. Small edits.