CS550 Homework 4