attept at problem 1 on hw3