Completed Assignment 1 Question 4