CMSC 427: Assignment 2