Uploaded answer to Q7 of Assignment 4