CS184 Lecture 4b Exercise