CS169.1x homework 3