added script to run all examples and print out errors