Added buildandrun.sh script to run and build projects and examples.