CS550 Homework 2