script to generate examples.
try to follow coding guidelines.
add options to handle log file.
handle input texts.
Merge pull request #10 from marlboromoo/utils

script to generate examples.