Write up for homework 4

The solution to homework 4 is in the *.docx file.