HW5 - 6 hours into the work

Gave up.....need to read more and more of this. I think the problem is I
need to read the chapters again.