Updated HW5 solutions