[doc] Simple example script

This will also be used as a test for the code. It do not run yet,
so I guess this is TDD.