Completion of week 4 assignment.