Updated HW6 solutions