update hw3 solution
Add another solution for hw4