HW2 Solutions