added folders code_examples/bash, and a sample bash script

Christopher!  Please only accept this pull request if you think this code will be useful for others / is clean enough to be useful to others.  I'm sure the script could be improved upon and am not sure about best practices for commenting within the script, or creating new folders in the repo - so feel free to make corrections and suggestions!