Create primeFactorization.js

Could be more extensible by returning an array.