added ruby prime-factors