Prime Factorization Java solution

Prime Factorization Java solution