Improves efficiency of Integer#is_prime?, adds Integer#primes