Finding Factors Of A Number In Python