Finished second problem.