Finished problem #8
Finished problem #8