Solution of problem 11 : Largest product in a grid