examples/demo_struct_reduce: added a docstring
examples: added a simple transformation demo