Finished problem #7