CPSC 240 Assignment 3