Assignment 2 of CS1520