don't need to select for primes
use inject
cutting down search space doesn't speed up so refactoring to minimize loc
Merge branch 'master' of https://github.com/RichardJordan/prime_factors

* 'master' of https://github.com/RichardJordan/prime_factors:
  cutting down search space doesn't speed up so refactoring to minimize loc
  use inject