Add homework2 solutions