CS171, Homework 1