examples: add example of rewriting AST node

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
Merge pull request #40 from akiradeveloper/feature/add-rewrite-example

examples: add example of rewriting AST node