Re-format code examples

Re-format code examples so they fit on the page.