Python script comparing different ways to get prime numbers.