problem 9, finding pythagorean triples that sum to a particular number