Converted shell script for running examples to Python script.

Added ability to run subsets of the examples.