Added PrimeFactorization function and helpers

* Helper Factorization
* Helper Prime returns a boolean