cs174 hw 2