Homework for CS 501