Project Euler #171: Finding numbers for which the sum of the squares of the digits is a square