Prime Factorization Of A Number In Python