update hw5 solutions