Finished problem #9