pythagorean triplet, still need more improvement