add code blocks to examples in README