Implemented basic integer factorisation
Code cleanup based on aochagavia's suggestions
Merge pull request #262 from hmanning77/hmanning77-intfactors

Implemented basic integer factorisation