HW2 and 3