Uploaded answer to Q12 of Assignment 4