Remove non-primes from Rust's prime generator.
Solve problem 60 using Python.