homework2 for 11791