Finished the first problem.