Python code for test various prime numbers generator algorithms