problems 1-7 done; 8-9 to be done.