Finished problem_set9