execute_example function

Execute Example Code