Completed hw for Chap 5