Assignment 2 in CPS240 -- OOP