Find Pythagorean triplets which has the total is 1000