Project Euler problem 9 - Pythagorean triplet