added shebang to examples.sh
create test.output directory when running examples.sh