chap 4 to prob 6
finished chapt 4