CPSC 310 - Part 4 of Lab 2