Week 4 files

The Week 4 sandbox script, with answers, figures generated by the
script, and all dependent code.