Part4 of CPSC310 Lab2