Finished problem #10