Re-learned polynomial factorization for Rust exercise (pythagorean triples)