HW 5 Update

Includes code to execute homework 5.