HW Assignments 18a,b,c