Uploaded answer to Q8 of Assignment 4