HW4 Prob 1-8 Complete