adding problem 9 -- Pythagorean triplets