A generator for Pythagorean triplets.