CS184 Homework 3