Completed Assignment 1 Question 6