Uploaded answer to Q4, Q8, and Q12b of Assignment 5