finished problem 8
Finished problems 9 & 10