Euler Project problem 11