Finished problem three