Cs229 Problem Set 3 Solutions