Chapter 7, part 1

all programming exercises in chapt. 5 finished
completed chapt. 6, except programming exercises