homework 3 for 11791