CS 245 Homework