Created new method: next_prime_number -- prime_factor method changed