implementation of http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata