CS558 - Homework 2