excercises done for Ch. 6