CPSC 317 Assignment 3