hw2 all problems done