removed magic number
wrapped #10 in fn and improved Primes.include?