CMSC 628 Assignment 2