prime factorization in python

Next commit should be making it recursive