Algo: Prime factorization of a number

code:

I/O: