Uploaded answer to Q4a of Assignment 5