Updated answers for Q2 and Q3 of CSC336 Assgn4