creates a list of primitive pythagorean triples dynamically