add support for running examples
Merge pull request #354 from waterbearlang/support_running_examples

add support for running examples