Cpsc 501 Assignment 2