Hw1 Problem 4

Final problem of HW1 is being uploaded.