Homework2 (resubmitted)

Oops, forgot to actually publish the files.