CS6102 Assignment 2