finished prime-factors kata