COMP 4870 Assignment 3