New python script to call the main executable.
Updated parser, works for all examples in examples/.