Finished Problem1.