CS554, Homework 2