Homework 3, pre-final write-up edit