Solve the large sum problem in project euler.