hw3 for 11791