Finding Factors Of A Number Cpp