HW2 for CS169