2nd assignment of COMP 249