Tree of primitive Pythagorean triples to generate all primitive triples