Solve the largest product in a grid problem in project euler.