Assignment 2 of CS2550