HW4 - Problem 1 - Attempt 1