adding pythagorean-triple