Fixed Prime_Generator